package cn.wolfcode.crm.qo;

import cn.wolfcode.crm.util.StringUtil;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class EmployeeQueryObject extends QueryObject {
    private String keyword;
    private Long deptId;
    /*private Integer minAge;
    private Integer maxAge;*/

    public String getEmployeeName() {
        return StringUtil.hasLength(this.keyword) ? this.keyword : null;
    }
}
